@import "../style/var";

// 2: Reboot
@import "../style/bootstrap/index";

/*----------------------------------------*/
/*  Status Bar Element Styles 
/*----------------------------------------*/

//
// Status Bar
//
.em-status-bar {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  font-size: 12px;
  > * {
    flex: 1;
  }

  // Body
  &__battery {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    &-icon {
      margin-left: 3px;
      width: 20px;
      height: 10px;
      border: 1px solid #000;
      position: relative;
      display: inline-block;
      border-radius: 3px;
      &::before,
      &::after {
        position: absolute;
        content: "";
        display: block;
        background: #000;
      }
      &::before {
        left: 1px;
        top: 50%;
        width: 85%;
        height: 6px;
        margin-top: -3px;
        background-color: gray;
        border-radius: 2px;
      }
      &::after {
        left: 100%;
        top: 50%;
        width: 3px;
        height: 4px;
        margin-top: -2px;
      }
    }
  }

  &__time {
    text-align: center;
  }
  &__signal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    &-intensity {
      display: flex;
      align-items: center;
      > span {
        margin-right: 2px;
        display: block;
        width: 6px;
        height: 6px;
        border-radius: 6px;
        border: 1px solid #000;
        background-color: #000;
        &:nth-child(n + 4) {
          background-color: #fff;
        }
      }
    }
  }
  &__wifi {
    color: #000;
    width: 20px;
    height: 20px;
    display: block;
    position: relative;
    overflow: hidden;
    transform: scale(0.7);
    > span {
      display: block;
      position: absolute;
      border-radius: 50%;
      border: 2px solid transparent;
      border-top-color: currentColor;
      left: 50%;
      transform: translateX(-50%);
      &::after {
        content: "";
        display: block;
        position: absolute;
      }
      &:nth-child(1) {
        width: 3px;
        height: 3px;
        bottom: 15%;
        background: currentColor;
        border: none;
      }
      &:nth-child(2) {
        width: 12px;
        height: 12px;
        bottom: -10%;
      }
      &:nth-child(3) {
        width: 20px;
        height: 20px;
        bottom: -30%;
      }
      &:nth-child(4) {
        width: 28px;
        height: 28px;
        bottom: -50%;
      }
    }
  }
}
